package com.zhdl.network.common_skipfaq.before;

import com.project.command.instruction.strategy.abs.AbsBeforeControlCommand;
import com.project.command.instruction.strategy.abs.BeforeStrategyParam;
import com.zhdl.network.common_skipfaq.dto.CommDemoFrameDto;
import io.netty.buffer.ByteBuf;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Author: zhangyy
 * @Email: zhang10092009@hotmail.com
 * @Date: 2023/12/13 10:03:38
 * @Version: v1.0
 * @Modified: 示例串口默认前置策略
 * @Description:
 */
@Slf4j
@Service(NoneAnalysisBeforeDefaultService.NONE_ANALYSIS_BEFORE)
public class NoneAnalysisBeforeDefaultService extends AbsBeforeControlCommand<CommDemoFrameDto, ByteBuf> {
    public final static String NONE_ANALYSIS_BEFORE = "noneAnalysisBefore";

    @Override
    public String getInstructionStr(BeforeStrategyParam param) {
        log.info("前置 ==> {}", NONE_ANALYSIS_BEFORE);
        return "";
    }
}
